-- GENERATED SPELL FOR [Blackhand Dragon Handler] --


function spell0_10742(pUnit, Event) --@Mend Dragon,Heal--
pUnit:FullCastSpellOnTarget(16637,pUnit)
pUnit:RegisterEvent('Sorts_10742', 20000, 1)
end

function Sorts_10742(pUnit, Event)
local choix_sorts_10742 = math.random(0, 0)
if choix_sorts_10742 == 0 then
pUnit:RegisterEvent('spell0_10742', 1, 1)
end
end

function mob10742_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10742', math.random(1500, 3000), 1)
end

function mob10742_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10742_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10742_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10742, 1, 'mob10742_Action')
RegisterUnitEvent(10742, 2, 'mob10742_Leave')
RegisterUnitEvent(10742, 3, 'mob10742_Kill')
RegisterUnitEvent(10742, 4, 'mob10742_Die')
